package com.storm.future.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;

/**
 * @author gu
 * @date 2020/4/29 10:25
 */
@Configuration
public class BaseType {

    @Bean
    public String allStar(){
        return "allStar" ;
    }

    @Bean
    public Integer allWell(){
        return 0 ;
    }

    @Bean
    @Primary
    public String primary(){
        return "primary";
    }
}
